﻿using System.Windows;
using Flux.Data.Maps;

namespace Flux.Editor.Views
{
	public partial class MapPaneView
	{
		public static readonly DependencyProperty MapProperty = DependencyProperty.Register("Map", typeof (Map), typeof (MapPaneView));
		public Map Map
		{
			get { return (Map) GetValue(MapProperty); }
			set { SetValue(MapProperty, value); }
		}

		public MapPaneView()
		{
			InitializeComponent();
			Map = App.SelectedMap;
		}
	}
}